;; -*- scheme -*- Copyright © 2001--2020,2022 GNUnet e.V.
;; SPDX-License-Identifier: AGPL-3.0-or-later

(value
  (symbol msg:cadet:connection:create)
  (index 1000)
  (documentation "Request the creation of a connection"))
(value
  (symbol msg:cadet:connection:create:acknowledgement)
  (index 1001)
  (documentation "Send origin an acknowledgement that the connection is complete"))
(value
  (symbol msg:cadet:connection:broken)
  (index 1002)
  (documentation "Notify that a connection is no longer valid"))
(value
  (symbol msg:cadet:connection:destroy)
  (index 1003)
  (documentation "Request the destruction of a connection"))
(value
  (symbol msg:cadet:connection:path-changed)
  (index 1004)
  (documentation "TODO, unimplemented?"))
(value
  (symbol msg:cadet:connection:hop-by-hop:encrypted-acknowledgement)
  (index 1005)
  (documentation "Deprecated? Hop-by-hop, connection dependent ACK"))
(value
  (symbol msg:cadet:tunnel:encrypted-poll)
  (index 1006)
  (documentation "Deprecated?"))
(value
  (symbol msg:cadet:tunnel:key-exchange)
  (index 1007)
  (documentation "Axolotl key exchange"))
(value
  (symbol msg:cadet:tunnel:encrypted)
  (index 1008)
  (documentation "Axolotl encrypted data"))
(value
  (symbol msg:cadet:tunnel:key-exchange:authentication)
  (index 1009)
  (documentation "Axolotl key exchange response with authentication"))

;; Channel

(value
  (symbol msg:cadet:channel:application-data)
  (index 1010)
  (documentation "Payload data (inside an encrypted tunnel)"))
(value
  (symbol msg:cadet:channel:application-data:acknowledgement)
  (index 1011)
  (documentation "Confirm payload data end-to-end."))
(value
  (symbol msg:cadet:channel:keepalive)
  (index 1012)
  (documentation "Announce connection is still alive (direction sensitive)."))
(value
  (symbol msg:cadet:channel:open)
  (index 1013)
  (documentation "Ask the CADET service to create a new channel."))
(value
  (symbol msg:cadet:channel:destroy)
  (index 1014)
  (documentation "Ask the CADET service to destroy a channel."))
(value
  (symbol msg:cadet:channel:open:acknowledgement)
  (index 1015)
  (documentation "Confirm the creation of a channel."))
(value
  (symbol msg:cadet:channel:open:nack:deprecated)
  (index 1016)
  (documentation "Deprecated?"))

;; Filler
msg:1017
msg:1018
msg:1019

;; Local
(value
  (symbol msg:cadet:local:data)
  (index 1020)
  (documentation "Payload client <-> service"))
(value
  (symbol msg:cadet:local:acknowledgement)
  (index 1021)
  (documentation "Local acknowledgement for data"))
(value
  (symbol msg:cadet:local:port:open)
  (index 1022)
  (documentation "Start listening on a port."))
(value
  (symbol msg:cadet:local:port:close)
  (index 1023)
  (documentation "Stop listening on a port."))
(value
  (symbol msg:cadet:local:channel:create)
  (index 1024)
  (documentation "Ask the CADET service to create a new channel."))
(value
  (symbol msg:cadet:local:channel:destroy)
  (index 1025)
  (documentation "Tell client that a channel has been destroyed."))

;; TODO monitoring
